package com.lhf.springcloud.dao;

import com.lhf.springcloud.entity.TeacherData;
import org.apache.ibatis.annotations.Insert;
import org.springframework.stereotype.Repository;
import org.apache.ibatis.annotations.Mapper;
@Repository
@Mapper
public interface TeacherDao {
    @Insert("insert into teacher_data (id,teacher_name,teacher_level) values((select uuid()),#{teacherName},#{teacherLevel})")
    void addCourse(TeacherData teacherData);
}
